package com.wxsoft.business.sys.dao;


import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.wxsoft.business.model.easyui.PageHelper;
import com.wxsoft.business.sys.pojo.SysUnitInfo;

public interface ISysUnitInfoDao {


	long findCount(@Param("sysUnitInfo")SysUnitInfo sysUnitInfo);

	List<SysUnitInfo> findAll(@Param("page")PageHelper page,@Param("sysUnitInfo")SysUnitInfo sysUnitInfo);
	
	public int insert(@Param("sysUnitInfo")SysUnitInfo sysUnitInfo);
	
	public int modify(@Param("sysUnitInfo")SysUnitInfo sysUnitInfo);
	
	public int delete(@Param("sysUnitInfo")SysUnitInfo sysUnitInfo);

	List<SysUnitInfo> getBy(@Param("sysUnitInfo")SysUnitInfo sysUnitInfo);
	
	public String findNameByCode(@Param("unit_id")String unit_id);
	public String findLastNum();
	
}
